package com.atguigu.mySmartCampus.Service;

import com.atguigu.mySmartCampus.entity.Admin;
import com.atguigu.mySmartCampus.entity.LoginForm;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface AdminService extends IService<Admin> {
    Admin login(LoginForm loginForm);

    Admin getAdminById(Long adminId);

    IPage<Admin> selectAdminByOperator(Page<Admin> pageAdmin, String adminName);
}
